import Vue from 'vue'
import VueRouter from 'vue-router'
import MoivesView from '../views/MoivesView'
import MineView from '../views/MineView'
import VideosView from '../views/VideosView'
import CityView from '../views/CityView'
import ComingmoivesView from '../views/ComingmoivesView'


Vue.use(VueRouter)

const routes = [
  {
    path:'/',
    name:'moives',
    component:MoivesView
  },
  {
    path:'/videos',
    name:'videos',
    component:VideosView
  },
  {
    path:'/mine',
    name:'mine',
    component:MineView
  },
 
  {
    path:'/city',
    name:'city',
    component:CityView
  },
  {
    path:'/coming',
    name:'coming',
    component:ComingmoivesView
  }
  
]

const router = new VueRouter({
  routes
})

export default router 
